<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>库存管理系统</title>
	</head>
	<link rel="shortcut icon" href="img/favicon.ico"/>
	<link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />
	<link rel="stylesheet" href="css/bootstrap/bootstrap-addtabs.css" />
	<link rel="stylesheet" href="css/common.css" />
	<link rel="stylesheet" href="css/frame.css" />
	<style>
		body {
			overflow-y: visible;
		}
		#centerBody{
			width:1420px;
		}
		#main{
			width:1420px;
		}
		header{
			background:#fff;
		}
		header .headUlli_line {
			background:#999999;
			height:20px !important;
			position:relative;
			top:20px;
		}
		header .popular{
			margin-top:20px;
		}
		header .headUlli_mess{
			width:200px;
			text-align:right;
			padding-right:20px;
		}
		#main .LevelMenu_1 .LevelMenu_1_Ul{
			color:white;
		}
		#main .LevelMenu_1 .LevelMenu_1_Ul li{
			background:#5c5a5b;
			border-bottom:1px solid #494748;
		}
		.f00aa99{
			background-color:#00aa99;
		}
		.headUlli_text img{
			width:102px;
			height:37px;
			margin-top:11px;
		}
		header .popular{
			color:#999999;
		}
		.user,.headUlli_exit .logout,.headUlli_exit span{
			color:#02b2ee;
		}
		.charter{
			background:#000000;
			height:120px;
			color:white;
			
		}
		.charter h3{
			margin-left:150px;
			height:100%;
			line-height:120px;
			float:left;
		}
		.charter_list{
			float:right;
			width:500px;
			
			margin-top:18px;
		}
		.charter_list .charter_li{
			float:left;
			width:84px;
			height:77px;
			text-align:center;
			cursor:pointer;
			position:relative;
			
		}
		.charter_list .charter_li:hover{
			width:84px;
			height:77px;
			background:#555555;
			border-radius:5px;
		}
		.charter_list li .iconfont{
			font-size:30px;
		}
		.main_best_right{
			width:110px;
			float:right;
			position:relative;
			background: #eae9e4;
		}
		.left_black{
			width:120px;
			height:70px;
			background:#000;
			position:relative;
		}
		.system_view{
			width:122px;
			position:absolute;
			left:-8px;
			top:75px;
			z-index:1000;
			display:none;
		}
		.system_view ul li{
			height:32px;
			line-height:25px;
			text-align: center;
			border-bottom: 1px solid #4b4b4b;
			background-color:rgba(40, 40, 40, 0.8);
		}
		.set_view{
			width:122px;
			position:absolute;
			left:-8px;
			top:75px;
			display:none;
			z-index:1000;
		}
		.set_view ul li{
			height:32px;
			line-height:25px;
			text-align: center;
			border-bottom: 1px solid #4b4b4b;
			background-color:rgba(40, 40, 40, 0.8);
		}
		.copyRight{
			background: #eae9e4;
			color:#999999;
			text-align:center;
			width:100%;
			height:65px;
			line-height:65px;
		}
		.copyRight span{
			margin-left:10px;
		}
	</style>
	<body>
		<div id='centerBody'>
			<header>
				<ul class='headUl'>
					<li class='headUlli_logo'></li>
					<li class='headUlli_text'><img src="img/login_filght.jpg"/></li>
					<li class='headUlli_block'></li>
					<li class='headUlli_mess'><!-- <span class='userPic'></span> --><span class='popular'>欢迎 ,&nbsp;<span class='user'>${session.name}</span></span>	
					</li>
					<li class='headUlli_line'></li>					
					<li class='headUlli_exit'><a href="javascript:void(0)" class="logout">退出 </a><span class='iconfont logoutIcon'>&#xe6a3;</span></li>					
				</ul>
			</header>
			<!--  顶部的包机管理系统-->
			<div class="charter">
				<h3>虚拟航空公司库存管理系统</h3>
				<div class='LevelMenu_1'>
				<div class="topbar admin-header">
					<div class="topbar-collapse">
						<ul class="charter_list">
							<li class="charter_li" data-addtab='1' url='ak/flightManage.html'><span class='iconfont'>&#xe616;</span><br/>航班计划</li>
							<li class="charter_li" data-addtab='2' url='ak/flightMessage.html'><span class='iconfont'>&#xe66f;</span><br/>航班信息</li>
							<li class="charter_li system"><span class='iconfont'>&#xe6b5;</span><br/>系统管理
								<div class="system_view">
									<ul>
										<li data-addtab='14' url='ak/userManage.html'>用户管理</li>
										<li data-addtab="15" url="ak/roleManage.html">角色管理</li>
										<li data-addtab="16" url="ak/resourceManage.html">资源管理</li>
										<li data-addtab="17" url="ak/flightPlanChangeLog.html">航班计划修改记录查询</li>
										<li data-addtab="18" url="ak/airportMaintaince.html">机场维护</li>
										<li data-addtab="19" url="ak/aircraftMaintaince.html">机型维护</li>
									</ul>
								</div>
							</li>
							<li class="charter_li set"><span class='iconfont'>&#xe607;</span><br/>设置
								<div class="set_view">
									<ul>
										<li data-addtab='20' url='ak/personInfo.html'>个人信息</li>
										<li data-addtab="21" url="ak/modifyPaw.html">密码修改</li>
									</ul>
								</div>
							</li>
						</ul>
					</div>
				</div>					
				</div>
			</div>
			
			<div id='main'>
				<div class='LevelMenu_1'>
				<div class="topbar admin-header">
					<div class="topbar-collapse">
					<div class="left_black"></div>					
						<ul class='LevelMenu_1_Ul' role="group" aria-label="...">
							
						</ul>
					</div>
				</div>					
				</div>	
				<div class="main_best_right"><div class="left_black"></div></div>	
				
				<div class='main_right'>																					
					<div style='height:14px;'>
					</div>
					<div class='content'>
						<div style='padding-left:14px;' id="tabs">
				        <!-- Nav tabs -->
			<!-- 	   <ul class="nav nav-tabs" role="tablist">
				        	<span class='backAndReflesh'>
						          <span class='reflash iconfont'>&#xe600;</span> 
						    </span> 
				            <li role="presentation" class="active">
				                <a href="#home" aria-controls="home" role="tab" data-toggle="tab">Home</a>
				            </li>
				           
				            
				        </ul>-->
				        <!-- Tab panes -->
				        <div class="tab-content">
				            <div role="tabpanel" class="tab-pane active" id="home">
				              	<div class='Home'>
				              		<div class='home_'>
				              			<div class='home_1'></div>
				              		</div>				              		
				              	</div>
				            </div>
				            
				        </div>

    					</div>
					</div>
					<div class="copyRight"><span>版权所有</span><span>2017天津伊翔运达网络科技有限公司  &nbsp;&nbsp;2017</span></div>
				</div>	
				
		</div>
		
	</div>
		
		<script type="text/javascript" src="js/jquery-1.12.4.js" ></script>
		<script type="text/javascript" src="js/bootstrap/bootstrap.min.js" ></script>
		<script type="text/javascript" src="js/bootstrap/bootstrap-addtabs_direct.js" ></script>
		<script type="text/javascript" src="layer-v2.4/layer/layer.js" ></script>
		<script type="text/javascript" src="js/common.js" ></script>
		
    	
		<script> 
			//刷新页面
			$(".reflash").bind('click',function(){
				var url = $("li[class=active]").attr('aria-url');
				var id = $("li[class=active]").attr("id").substring(8);
				Addtabs.add({'id':id,'url':url});
		        $('#popMenu').fadeOut();
			})
			//权限管理
			var innerHtml = "";
			
			/*<#if resList?seq_contains("inventory")>
				var invStr = "<li name='inventory' class='li'><span class='iconfont'>&#xe60b;</span><br/>产品管理<div class='menu_'><ul>";
				<#if resList?seq_contains("ak/productList.html")>
					invStr+= "<li data-addtab='5' url='ak/productList.html'>产品管理</li>"
				</#if>
				invStr += "</ul></div></li>";
				innerHtml +=invStr;
			</#if>*/
			<#if resList?seq_contains("inventory")>
			var invStr = "<li data-addtab='5' url='ak/productList.html' name='inventory' class='li'><span class='iconfont'>&#xe60b;</span><br/>产品管理</li>";
			innerHtml +=invStr;
			</#if>
			
			<#if resList?seq_contains("flight")>
			var flightStr = "<li name='flight' data-addtab='2' url='ak/flightMessage.html' class='li'><span class='iconfont'>&#xe616;</span><br/>航班信息";
			flightStr += "</li>";
			innerHtml +=flightStr;
			</#if>
			
			
			<#if resList?seq_contains("price")>
				var priceStr = "<li name='price' data-addtab='7' url='ak/pricePlan.html' class='li'><span class='iconfont'>&#xe60a;</span><br/>运价方案";
				priceStr += "</li>";
				innerHtml +=priceStr;
			</#if>

		
			<#if resList?seq_contains("system")>
				var systemStr = "<li name='system' class='li liMenu'><span class='iconfont'>&#xe6b5;</span><br/>系统管理<div class='menu_ menuSys' id='sys'><ul>";
				<#if resList?seq_contains("ak/userManage.html")>
					systemStr += "<li data-addtab='14' url='ak/userManage.html'>用户管理</li>"
				</#if>
				<#if resList?seq_contains("ak/roleManage.html")>
					systemStr += '<li data-addtab="15" url="ak/roleManage.html">角色管理</li>'
				</#if>
				<#if resList?seq_contains("ak/resourceManage.html")>
					systemStr += '<li data-addtab="16" url="ak/resourceManage.html">资源管理</li>'
				</#if>
				<#if resList?seq_contains("ak/flightPlanChangeLog.html")>
					systemStr += '<li data-addtab="17" url="ak/flightPlanChangeLog.html">航班计划修改记录查询</li>'
				</#if>
				<#if resList?seq_contains("ak/airportMaintaince.html")>
				systemStr += '<li data-addtab="18" url="ak/airportMaintaince.html">机场维护</li>'
				</#if>
				<#if resList?seq_contains("ak/aircraftMaintaince.html")>
					systemStr += '<li data-addtab="19" url="ak/aircraftMaintaince.html">机型维护</li>'
				</#if>
				systemStr += "</ul></div></li>";
				innerHtml +=systemStr;
			</#if>

			
			<#if resList?seq_contains("install")>
				var install = "<li name='install' class='li liSys'><span class='iconfont'>&#xe607;</span><br/>设置<div class='menu_ menuSet'><ul>";
				<#if resList?seq_contains("ak/personInfo.html")>
					install += "<li data-addtab='20' url='ak/personInfo.html'>个人信息</li>"
				</#if>
				<#if resList?seq_contains("ak/modifyPaw.html")>
					install += '<li data-addtab="21" url="ak/modifyPaw.html">密码修改</li>'
				</#if>
				
				install += "</ul></div></li>";
				innerHtml +=install;
			</#if>
		//	$(".LevelMenu_1_Ul").append(innerHtml);
		</script>
		<script type="text/javascript" src="js/echarts.js"></script>
		<script type="text/javascript" src="js/world.js"></script>
		<script type="text/javascript" src="js/macarons.js"></script> 		
		<script type="text/javascript" src="js/sockjs.min.js" ></script>
		<script type="text/javascript" src="js/stomp.min.js" ></script>
		<script type="text/javascript" src="js/frame_indexb.js" ></script>
	</body>
</html>
